#ifndef _LV2UNIT_H_
#define _LV2UNIT_H_

#include <lv2.h>

#include "Unit.h"

class LV2Unit : public Unit
{
   private:
      string  mFileName;

   public:
      LV2Unit();
      ~LV2Unit();

      void load(string fileName);
      void unload();

      void ar(unsigned portNum, sample_t *buffer, jack_nframes_t len, Options options);
};

#endif
